package com.yanfan.energy.domain;

import com.dtflys.forest.annotation.Get;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;
import java.util.List;

/**
 * @author caijinkang
 * @date 2023年03月21日 17:19
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class RouteListBody {
    /**
     * 路线id
     *
     * @author caijinkang
     * @date 2023/3/21 17:20
     * @param null
     * @return null
     */
    private Long id;
    /**
     * 路线名称
     *
     * @author caijinkang
     * @date 2023/3/21 17:20
     * @param null
     * @return null
     */
    private String name;
    /**
     * 设备id
     *
     * @author caijinkang
     * @date 2023/4/6 9:49
     * @param null
     * @return null
     */
    private Long deviceId;
    /**
     * 网关id
     *
     * @author caijinkang
     * @date 2023/4/11 16:14
     * @param null
     * @return null
     */
    private Long productId;
    /**
     * 网关名称
     *
     * @author caijinkang
     * @date 2023/4/11 16:15
     * @param null
     * @return null
     */
    private String productName;
    /**
     * 检查项list
     *
     * @author caijinkang
     * @date 2023/3/21 17:21
     * @param null
     * @return null
     */
    private List<CheckListBody> checkList;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date checkedTime;
    private String deviceName;
    private String checked;
    private String remark;
    private Long personId;
    private Integer sort;

}
